package cn.haigle.virtue.controller.admin.role.vo;

import cn.haigle.virtue.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author haigle
 * @date 2024/11/14 14:37
 */
@Schema(description = "管理后台 - 角色分页查询 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RolePageReqVO extends PageParam {

    @NotBlank(message = "角色名称")
    private String name;

    @NotBlank(message = "状态")
    private Integer state;

    @NotBlank(message = "创建时间")
    private List<String> createTime;

}
